<ngx-monaco-editor [options]="editorOptions" [(ngModel)]="code"></ngx-monaco-editor>

<button nz-button [nzType]="'primary'" (click)="demo()">
  <span>demo,看控制台</span>
</button>
